package com.hirsi.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 数据状态枚举
 */
@Getter
@AllArgsConstructor
public enum DataStatusEnum {

    DISABLE(0, "禁用"),
    ENABLE(1, "启用");

    @EnumValue
    private Integer value;

    @JsonValue
    private String desc;
}
